<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<script>
    var name=prompt("'请输入您的姓名：'");
    document.write(name);

</script>
</body>
</html>